package com.yourenbang.lingyun.transaction.util;

/**
 * @Description
 * @Date 2020/12/4 17:33
 * @Created by Jason
 */
public class PayTransactionUtil {
    /**
     * 获取订单所在表
     * @param userId
     * @return
     */
    public static  int getTransTableIndex(String userId) {
        int hashcode = userId.hashCode() % 100;
        return Math.abs(hashcode) + 1;
    }
}
